import sqlite3
conn = sqlite3.connect("d:/test.db")
cur = conn.cursor()

sqlstr1 = "insert into user(sid, name, email)\
values(1001, '张大山', 'zhangds@163.com') "
cur.execute(sqlstr1)

sqlstr2 = "insert into user(sid, name, email)\
values(1002, '李晓丽', 'lixli@163.com') "
cur.execute(sqlstr2)

sqlstr3 = "insert into user(sid, name, email)\
values(1003, '赵四方', 'zaoshi@163.com') "
cur.execute(sqlstr3)
conn.commit()

print("Records created successfully")
conn.close()